<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script type="text/javascript" src="js/test.js"></script>
</head>
<body onload="changeImg()">
  <img src="img/1.png" width="200" height="200" id="myImg"/>
  <button onclick="test()">点我开始</button>
  <button onclick="test2()">点我停止</button>

  <button onclick="test3()">点我跳转到百度</button>

  <form action="http://www.baidu.com" id="myForm">
    <input type="button" value="点我提交" onclick="submitForm()"/>
  </form>
</body>
</html>